﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameAiLaTrieuPhu_Client
{
    public class Player
    {
        private int _Number;

        public int Number
        {
            get { return _Number; }
            set { _Number = value; }
        }

        private string _Nickname;

        public string Nickname
        {
            get { return _Nickname; }
            set { _Nickname = value; }
        }

        private int _nPlayers;

        public int nPlayers
        {
            get { return _nPlayers; }
            set { _nPlayers = value; }
        }

        private int _nQuestions;

        public int nQuestions
        {
            get { return _nQuestions; }
            set { _nQuestions = value; }
        }

        private bool _isSkip;

        public bool IsSkip
        {
            get { return _isSkip; }
            set { _isSkip = value; }
        }

        public Player(string strNickname)
        {
            Nickname = strNickname;
            IsSkip = false;
        }

        public void AddInfomation(int iNumber, int iNPlayers, int iNQuestions)
        {
            Number = iNumber;
            nPlayers = iNPlayers;
            nQuestions = iNQuestions;
        }
    }
}
